package com.kvw.auth.center;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * Created with IntelliJ IDEA.
 * Desc:
 *
 * @author: keen
 * Date: 2020-07-14
 * Time: 22:24
 */
@SpringBootApplication
@MapperScan(value = {"com.kvw.auth.center.dao"})
public class AuthCenterApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(AuthCenterApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(AuthCenterApplication.class);
    }
}
